﻿@model FMIS.Models.Coach

@{
    ViewBag.Title = "Edit";
}

<h2>Edit</h2>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Coach</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.CoachesId)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CoachesId)
            @Html.ValidationMessageFor(model => model.CoachesId)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.PersonId, "Person")
        </div>
        <div class="editor-field">
            @Html.DropDownList("PersonId", String.Empty)
            @Html.ValidationMessageFor(model => model.PersonId)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.CoachesFisrtName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CoachesFisrtName)
            @Html.ValidationMessageFor(model => model.CoachesFisrtName)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.CoachesLastName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CoachesLastName)
            @Html.ValidationMessageFor(model => model.CoachesLastName)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.CoachesFullName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CoachesFullName)
            @Html.ValidationMessageFor(model => model.CoachesFullName)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Status)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Status)
            @Html.ValidationMessageFor(model => model.Status)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.License)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.License)
            @Html.ValidationMessageFor(model => model.License)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.LicenseReceivingYear)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.LicenseReceivingYear)
            @Html.ValidationMessageFor(model => model.LicenseReceivingYear)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.SeniorCoach)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SeniorCoach)
            @Html.ValidationMessageFor(model => model.SeniorCoach)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.YouthCoach)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.YouthCoach)
            @Html.ValidationMessageFor(model => model.YouthCoach)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.JerseySize)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.JerseySize)
            @Html.ValidationMessageFor(model => model.JerseySize)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ShoeSize)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ShoeSize)
            @Html.ValidationMessageFor(model => model.ShoeSize)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.AgentId, "Agent")
        </div>
        <div class="editor-field">
            @Html.DropDownList("AgentId", String.Empty)
            @Html.ValidationMessageFor(model => model.AgentId)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Comment)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Comment)
            @Html.ValidationMessageFor(model => model.Comment)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ClubName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ClubName)
            @Html.ValidationMessageFor(model => model.ClubName)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.StartDate)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.StartDate)
            @Html.ValidationMessageFor(model => model.StartDate)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.CoachLevel)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CoachLevel)
            @Html.ValidationMessageFor(model => model.CoachLevel)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.PublicComment)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PublicComment)
            @Html.ValidationMessageFor(model => model.PublicComment)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.CoachesCode)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CoachesCode)
            @Html.ValidationMessageFor(model => model.CoachesCode)
        </div>

        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
